/* 
 * File:   Field.h
 * Author: Lucky
 *
 * Created on 5. říjen 2011, 10:57
 */

#ifndef FIELD_H
#define	FIELD_H

class Field {
public:
    Field(int length);
    Field(const Field& orig);
    virtual ~Field();
    
    bool* m_field; //pole stavu
    int m_length; //delka pole stavu
    int m_end; //index (ukazatel), kde pripadne jiz skoncit i kdyz tam jeste neni rozsviceno (true)
    int m_switchCount;
    
    int getSwitchCount() const;
    void setState(int p, bool state);
private:

};

#endif	/* FIELD_H */

